• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

php/Modernbill Question

phoenixisp

Silver Pleskian
I have setup one server with RH9, Plesk 7.5.3 and Modernbill and everything works well. But I tried to setup another one and have run into a problem.

When I try to run the install script using the browser I get this error:

Parse error: parse error in /home/httpd/vhosts/secure.domain.com/httpsdocs/modernbill/install_v4/index.php on line 89

I have Zend installed and I think that's where my problem is. I inserted a info.php page and noticed a difference in the configuration file path.

On the server that works it's "/etc/php.ini"

On the one that doesn't it's "/usr/local/Zend/etc/php.ini"

What would cause this and how do I fix it?

Thanks,

Sonny
 
make sure /etc/php.ini is linked to /usr/local/zend/php.ini. You can do this like so

login through ssh as root
mv /etc/php.ini /etc/php.ini`date -I`
ln -s /usr/local/Zend/php.ini /etc/

service httpd restart
 
That didn't go well. When i did:

mv /etc/php.ini /etc/php.ini`date -I`


I got :

bash: command substitution: line 2: syntax error: unexpected end of file
mv: '/etc/php.ini' and '/etc/php.ini' are the same file

And if I try:

ln -s /usr/local/Zend/php.ini /etc/

I get:

ln: `/etc//php.ini': file exists
 
Just do:

mv /etc/php.ini /etc/php.ini.backup
ln -s /usr/local/Zend/php.ini /etc/

basically he wants you to backup the original php.ini file to another name, then symlink the one in the /usr/local/Zend/ to /etc/

Also make sure the path name is correct for your system, it should be, but who wants to 'assume'?

If you get an error on the second command, then do a:

locate php.ini

and you will see all occurances of php.ini on the system, and their paths.
 
Egads!!

Just for grins I retried the Modernbill install and it's working, go figure!!!

Thanks tiredofchex, even with the errors above it seems to have worked.
 
Back
Top