Missing php.ini file

I was using InvoicePlane on Fedora 24 without any problems. Love the program. Upgraded to Fedora 25. Now stuck.
To install InvoicePlane:

  1. Create empty DB
  2. Copy InvoicePlane to /var/www/html/InvoicePlane
  3. If want more than 1 installation choose different name than InvoicePlane for each instance.
  4. Fedora as root run: chcon -t httpd_sys_rw_content_t /var/www/html/ -R
  5. Then run: chmod 777 -r /var/www/html/InvoicePlane/appliction
  6. In browser enter: localhost/InvoicePlane/php.ini/setup

There is no php.ini

drwxrwxrwx. 16 dewald dewald 4096 Dec 17 18:57 application
drwxrwxrwx. 3 dewald dewald 4096 Nov 12 00:51 assets
-rwxr-xr-x. 1 dewald dewald 192 Nov 12 00:51 composer.json
-rw-r–r--. 1 dewald dewald 6781 Nov 12 09:56 composer.lock
-rwxr-xr-x. 1 dewald dewald 4030 Nov 12 00:51 CONTRIBUTING.md
-rwxr-xr-x. 1 dewald dewald 724 Nov 12 00:51 Dockerfile
-rwxr-xr-x. 1 dewald dewald 640 Nov 12 00:51 htaccess
-rwxr-xr-x. 1 dewald dewald 7550 Nov 12 00:51 index.php
-rw-rw-r–. 1 dewald dewald 16738063 Dec 17 18:04 ‘Invoice Plane v1.4.10.zip’
-rwxr-xr-x. 1 dewald dewald 4996 Nov 12 00:51 license.txt
-rwxr-xr-x. 1 dewald dewald 2096 Nov 12 00:51 README.md
-rwxr-xr-x. 1 dewald dewald 25 Nov 12 00:51 robots.txt
drwxrwxrwx. 8 dewald dewald 4096 Dec 17 18:57 system
drwxrwxrwx. 5 dewald dewald 4096 Dec 17 18:57 uploads
drwxrwxrwx. 6 dewald dewald 4096 Dec 17 18:57 vendor
[root@localhost InvoicePlane]#

[root@localhost ~]# locate php.ini
[root@localhost ~]#

Please advise. I am the paybill (treasurer) for a MOTH shellhole (we collect funds and resources to hel the needy) and need this desparately.

Server version: 10.1.19-MariaDB MariaDB Server
PHP 7.0.14 (cli) (built: Dec 7 2016 10:01:29) ( NTS )

Hi Dewald !
It’s index.php and not php.ini => localhost/InvoicePlane/index.php/setup
Check the instllation guide on the Wiki: https://wiki.invoiceplane.com/en/1.0/getting-started/installation
Good luck :wink:

Thanks. I did try that but there has to be another problem. Will download InvoicePlane again.
phpMyAdmin and info.php displays fine but:

Corrupted Content Error

The site at http://localhost/InvoicePlane/index.php/setup has experienced a network protocol violation that cannot be repaired.

The page you are trying to view cannot be shown because an error in the data transmission was detected.

Please contact the website owners to inform them of this problem.

Community has been great with my first issue

Now have a new one. Kodi crashed my installation. Reloaed and trying to tnstall InvoicePlane.

I type localhost/InvoicePlane//index.php/setup then this happens. The URL changes to:
http://www.localhost/InvoicePlane/index.php/setup/localhost/index.php/setup/language

Did chmod etc.
Exit firefox and restart.
Reboot.
Check for httpd.
DB created.
Changed RewriteBase /InvoicePlaneGet 404 Page Not Found

Forgot: Version 1.4.10

What did you define as IP_URL in the index.php? What is the content of your .htaccess?

.htaccess:

## Run InvoicePlane in a subfolder
## If you are using a subfolder please remove the hash in front of the line ‘#RewriteBase /subfolder’
## and replace ‘subfolder’ with the actual name of your folder, i.e. ‘RewriteBase /invoices’

<IfModule mod_rewrite.c>

  RewriteEngine On
  RewriteBase /InvoicePlane
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  
  ## Remove the hash in front of the following two lines if you want to force HTTPS
  #RewriteCond %{HTTPS} off
  #RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
  
</IfModule>

index.php:

define('IP_URL', 'localhost', '');

It seems that you didn’t read the instructions. It’s clearly written how your URL should look like:

* Please set your preferred URL for IP_URL like this:
* define('IP_URL', 'https://my-invoices.com/');

So this is what the configuration looks like:

define('IP_URL', 'http://localhost/', '');

Also, please do not register multiple accounts for every new issue. There is a password reset function if you forgot it.

Please accept my apologies about the accounts. Remeber the password but email was wrong. Sorry please delete all except dewaldgerber53@gmail.com

Thanks for the help. I see the mistake. Now works.