ispCP - Board - Support
Access directory containing PHP.ini file - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Access directory containing PHP.ini file (/thread-12967.html)



Access directory containing PHP.ini file - kevinsabres - 02-28-2011 06:20 AM

Hi I am new using this server software and everything.

I need to open and edit the PHP.ini file to include the zend optimizer.

I seen in the FAQ to do this:

You can find the php.ini for the user-domain example.org here: /var/www/fcgi/example.org/php5/php.ini

You can find the php.ini for the ispCP virtual host here: /var/www/fcgi/master/php5/php.ini

I am not sure where to look for these directories at.

I don't know how to get to the higher level of the /var directory.

I only can get to the / directory threw FTP or file manager.

If i try on the file manager i get this error:

The directory /var does not exist or could not be selected, so the directory / is shown instead.

any help would be appreciated


RE: Access directory containing PHP.ini file - greatman - 02-28-2011 08:06 AM

(02-28-2011 06:20 AM)kevinsabres Wrote:  Hi I am new using this server software and everything.

I need to open and edit the PHP.ini file to include the zend optimizer.

I seen in the FAQ to do this:

You can find the php.ini for the user-domain example.org here: /var/www/fcgi/example.org/php5/php.ini

You can find the php.ini for the ispCP virtual host here: /var/www/fcgi/master/php5/php.ini

I am not sure where to look for these directories at.

I don't know how to get to the higher level of the /var directory.

I only can get to the / directory threw FTP or file manager.

If i try on the file manager i get this error:

The directory /var does not exist or could not be selected, so the directory / is shown instead.

any help would be appreciated
Only the owner (the guy with root access) of the server can access that file. You cannot access it with FTP.