Just loaded Litespeed Standard and am trying to figure out why my php.ini file is not being loaded. The phpinfo.php file shows the right location, but the file still doesn't get loaded.
Configuration File (php.ini) Path = /home/myusername/configs
Loaded Configuration File = (none)
I added a file in the same directory called test.php with the following code in it:
<?php
$filename = "/home/myusername/configs/php.ini";
$handle = fopen ($filename, "r");
$contents = fread ($handle, filesize ($filename));
fclose ($handle);
echo "$contents";
?>
It outputs the contents of php.ini just fine, so it does not appear to be a permissions issue. Anything else I can look at to try and find out why the config file is not being read, though?
Configuration File (php.ini) Path = /home/myusername/configs
Loaded Configuration File = (none)
I added a file in the same directory called test.php with the following code in it:
<?php
$filename = "/home/myusername/configs/php.ini";
$handle = fopen ($filename, "r");
$contents = fread ($handle, filesize ($filename));
fclose ($handle);
echo "$contents";
?>
It outputs the contents of php.ini just fine, so it does not appear to be a permissions issue. Anything else I can look at to try and find out why the config file is not being read, though?