Search the Community
Showing results for tags 'pear'.
-
Hello, First of all, thank you for the service you provide. The "'--without-pear'" parameter seems to be active on the server's PHP.INI configuration, but I'm looking to use a tool that requires the features provided by "PEAR". Would it be possible for you to activate "PEAR" on the instance used by my domain, please? Server : johnny User : monsieurtom Domain : monsieurtom.helioho.st Thank you in advance for your reply. Best regards, Tom
-
I have just installed PEAR on my account using the PHP PEAR packages wizard in the Software/Services section of the cPanel. As I am trying to use the package with the path '/home/dummy_id/php' I get the following error message... " Fatal error: Cannot redeclare _PEAR_call_destructors() (previously declared in /home/dummy_id/php/PEAR.php:735) in /usr/lib/php/PEAR.php on line 777 " I have searched a lot about this on the Internet and the most probable solution that says to put 'php_value include_path "/home/dummy_id/php" ' make things even worse, making the script throw a '500 Internal Server Error'. " Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@dummy_id.heliohost.org and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5 FrontPage/5.0.2.2635 mod_bwlimited/1.4 mod_auth_passthrough/2.1 mod_wsgi/3.3 Python/2.7.1 Server at gargsms.heliohost.org Port 80\" Please help!!
-
Dear all, Could anybody explain me how I can use PHPUnit. The PHPUnit installation tutorial (here: http://www.phpunit.d...stallation.html ) states I should run some command-line commands, which I (understandably) cannot do on HelioHost. Via the cPanel PEAR section I installed PHPUnit2 version 2.3.6. Maybe worth nothing that according to http://pear.phpunit.de/ the current version is 3.6.10 and 2.3.6 is quite old. The only options I found when searching for "phpunit" via cPanel were 1.3.2 and 2.3.6. Now when I run a script starting with require_once 'PHPUnit2/Framework/TestCase.php'; then PHP gives me the message: Warning: require_once(PHPUnit2/Framework/TestCase.php) [function.require-once]: failed to open stream: No such file or directory in /home/pjvleeuw/public_html/ctr/tests.php on line 2 Via FTP I checked, the file /home/pjvleeuw/php/PHPUnit2/Framework/TestCase.php does exist, but apparently (checked via phpinfo() ) the include_path is set to ".:/usr/lib/php:/usr/local/lib/php". I am not sure but when I install something via the PEAR section on cPanel, where is that supposed to go and should that path be included automatically? I'd rather not hard-code a path anywhere in my PHP, that is exactly what the PEAR mechanism (from what I understand so far) aims to avoid. So my question boils down to: * I can imagine other PHP developers using PHPUnit, so it might be worthwhile to make this available by default / system wide? * if not, please help me set this up property, I searched a lot but I am stuck, please help Hope hearing. Many thanks for reading. Best regards, Paul