Reputation: 877
I have to increase my memory limit, but there is no php.ini
anywhere on my server.
When I query php_info()
, it says it's in a folder called web/conf
, but there is no such folder on my server. I looked in every folder.
Upvotes: 0
Views: 408
Reputation: 947
Run the script:
<? phpinfo() ?>
And you'll see the path under the "Loaded Configuration File" value/row.
Upvotes: 3
Reputation: 8103
You can (re)install PHP by downloading this package and you can see a full tutorial over here. Goodluck!
Upvotes: 0
Reputation: 6548
If you don't have access to your php.ini file you can always set a configuration option at runtime with ini_set()
Upvotes: 0
Reputation: 48706
Try to do a
find / -name "php.ini"
to locate your php.ini. If you have php installed, it will be there. If not, reinstall php.
Upvotes: 0