Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : How To Install And Activate PHP-CLI



Threaded Mode | Print  

 How To Install And Activate PHP-CLI (4 Replies, Read 11063 times)
cjflnyc
Group: Member
Post Group: Newbie
Posts: 5
Status:
Hello, I have installed a fresh version on Centos 6 on a physical server here at home. I want to host a video site with Cumulus Clips So here is what steps I took

1- Format PC with Centos 6 Live USB key made with LinuxLive USB
2- Compiled and Installed ffmpeg mplayer etc following online guides the process was success.

At this point Still no apache web server installed or any database or PHP yum packages to avoid conflicts with the next step.

3- Installed Webuzo from shell install.sh downloaded file. This was a success. I was able to get into Webuzo configure my domains email accounts etc..

4 Install Cumulus script via Webuzo. Install successful. I am able to log into the site no problems but in the admin section under video configuration where it asks for paths I have updated that with correct paths for ffmpeg etc. But when I enter this information I get this error.
Unable to locate path to PHP-CLI
video uploading becomes disabled.

So please I would really need some help on how I can fix this issue. How do I install PHP-CLI and activate that module for Webuzo default php5.3?

I tried to to go to shell and yum install php-cli and yum installs without error some php5.3-cli packages as I have excluded php5.4 and 5.5 from yum.repo file to avoid conflicts. But even if this seems to work. I can not seem to find the directory where yum dumped php-cli.so So That I can just move it from that default directory and move it into Webuzo php53 ext folder and hope that the Webuzo GUI php modules config page finds it so I can activate it. Anyways that was my plan but I can not find the files or a simple guide to follow on this installation.

Thanks all for your help!
IP: --   

How To Install And Activate PHP-CLI
nikhil89
Group: Softaculous Team
Post Group: Elite Member
Posts: 468
Status:
Hi,

PHP-CLI is already enabled while compiling the package. You can check and confirm the same in your PHP Info or using the following command:
/usr/bin/php -v

You can use /usr/bin/php it is cli php binary.

For the above issue you can also refer to the below link:
http://cumulusclips.org/forums/index.php?p=/discussion/245/unable-to-locate-path-to-php-cli

Hope this helps.

Please let us know if you need any further information. We will be happy to help you.
IP: --   

How To Install And Activate PHP-CLI
cjflnyc
Group: Member
Post Group: Newbie
Posts: 5
Status:
Thanks seems that issue is fixed, Just needed to point to the proper directory. But now looking at the cumulus log file as conversion fails basically one long log complaining about not being able to find a bunch of php extentions from a list a default php directories. Repeats the same lines over and over again, Some of those being complained about is PDO. No errors surprisingly anything else.

I looked all around this fresh install of Webuzo for signs of any broken install but everything else works great, Emails, ftp, Domains and all other various scripts work fine no errors so to me I think my Webuzo is fine.

I wonder why this one click install is so complicated. This must be the hardest script to get going :P

If You want I can provide the log file but like I said all it complaints about is the Cumulus script not being able to find a bunch of php ext and lists the directories it tried to find them in and fails.(Perhaps I should take note and copy them from the usr/local/apps/php5x/ext directory But Yet in Webuzo control needed php extensions are all installed and activated by default it seems. and phpinfo.php script in Cumulus control does show indeed that everything is fine.
IP: --   

How To Install And Activate PHP-CLI
cjflnyc
Group: Member
Post Group: Newbie
Posts: 5
Status:
Here is the detail log:



Failed loading /usr/local/apps/php54/ext/ioncube_loader_lin_5.4.so:  /usr/local/apps/php54/ext/ioncube_loader_lin_5.4.so: undefined symbol: zend_do_bind_traits
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apps/php54/ext/curl.so' - /usr/local/apps/php54/ext/curl.so: undefined symbol: php_output_write in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apps/php54/ext/fileinfo.so' - /usr/local/apps/php54/ext/fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apps/php54/ext/json.so' - /usr/local/apps/php54/ext/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apps/php54/ext/pdo.so' - /usr/local/apps/php54/ext/pdo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apps/php54/ext/pdo_sqlite.so' - /usr/local/apps/php54/ext/pdo_sqlite.so: undefined symbol: php_pdo_unregister_driver in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apps/php54/ext/phar.so' - /usr/local/apps/php54/ext/phar.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apps/php54/ext/sqlite3.so' - /usr/local/apps/php54/ext/sqlite3.so: undefined symbol: zend_new_interned_string in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apps/php54/ext/zip.so' - /usr/local/apps/php54/ext/zip.so: undefined symbol: zend_new_interned_string in Unknown on line 0
PHP Warning:  include(PDO.php): failed to open stream: No such file or directory in /home/cjflfm/public_html/media.radiogaga.ga/cc-core/lib/App.php on line 29

Warning: include(PDO.php): failed to open stream: No such file or directory in /home/cjflfm/public_html/media.radiogaga.ga/cc-core/lib/App.php on line 29
PHP Warning:  include(): Failed opening 'PDO.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php:/home/cjflfm/public_html/media.radiogaga.ga/cc-core/lib:/home/cjflfm/public_html/media.radiogaga.ga/cc-core/models:/home/cjflfm/public_html/media.radiogaga.ga/cc-core/mappers:/home/cjflfm/public_html/media.radiogaga.ga/cc-core/services') in /home/cjflfm/public_html/media.radiogaga.ga/cc-core/lib/App.php on line 29

Warning: include(): Failed opening 'PDO.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php:/home/cjflfm/public_html/media.radiogaga.ga/cc-core/lib:/home/cjflfm/public_html/media.radiogaga.ga/cc-core/models:/home/cjflfm/public_html/media.radiogaga.ga/cc-core/mappers:/home/cjflfm/public_html/media.radiogaga.ga/cc-core/services') in /home/cjflfm/public_html/media.radiogaga.ga/cc-core/lib/App.php on line 29
PHP Fatal error:  Class 'PDO' not found in /home/cjflfm/public_html/media.radiogaga.ga/cc-core/system/bootstrap.php on line 36

Fatal error: Class 'PDO' not found in /home/cjflfm/public_html/media.radiogaga.ga/cc-core/system/bootstrap.php on line 36
IP: --   

How To Install And Activate PHP-CLI
nikhil89
Group: Softaculous Team
Post Group: Elite Member
Posts: 468
Status:
Hi,

It seems that the above extensions of PHP 5.4 are not enabled on your server.

Can you enable the above extensions from Webuzo End-User Panel -> Configuration -> PHP Extensions.

If you still face the issue, please open a support ticket here, with your root details, so that we can check your issue further:
http://softaculous.com/support/
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is October 22, 2019, 11:54 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.218