Knowledgebase : Cpanel Control Panel > PHP
You can use the following php mail script to check PHP Mail Function is working or not.______________________________<?php$to = "user@domain.com"; $subject = "PHP Mail Function Successful";$message = "This email was sent via PH...
My php script used to open remote url but now it does not work. The allow_url_fopen is now set to off on all our servers to increase security. allow_url_fopen allows a programmer to open/include a remote file using a url rather than a local file ...
Using cURL in place of the PHP option allow_url_fopen cURL is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP. cURL supports HTTPS certificates, HTTP POST, HTTP PUT, F...
Do you offer php accelerator or optimizer? All our servers are compiled with Zend optimizer and eAccelerator
If you are setting up custom php settings, the custom php.ini file will be required in a folder where the php script needs to execute. Or you can place php.ini in the public_html folder and have this directive in public_html/.htaccess. ____________...
You can use the following directive in .htaccess to parse html files as php.______________________AddHandler application/x-httpd-php .html .htm______________________If the server has php version 5, use it as follows.______________________ AddHandler ...
Is PHP installed by default? Yes
How PHP is compiled in the server?What is the version of PHP in your server/domain ? What are the php configuration or variables set for your server/domain? You can use the function phpinfo() to know the PHP details. The phpinfo file outputs a larg...
Our new servers have PHPsuexec enabled for better security for our customers. PHPSuexec File/Directory Permissions When PHP runs as an Apache Module it executes as the user/group of the webserver which is usually "nobody". Under this mode, files or d...