View Single Post
  #1  
Old 07-11-2012, 02:07 AM
flowcubano flowcubano is offline
Member
 
Join Date: May 2011
Posts: 19
Default php.ini on cpanel

Hello,

I can't find the php.ini

On my php info I get this:

Configuration File (php.ini) Path - /usr/local/lsws/lsphp5/lib

But dear I dont see the php.ini, I only see folder: php with inside this files:
System.php
peclcmd.php
pearcmd.php
PEAR5.php
PEAR.php

and more...

PHP Code:
oot@db [~]# /usr/local/lsws/fcgi-bin/lsphp5 -i | grep "Configuration File"
Configuration File (php.iniPath => /usr/local/lsws/lsphp5/lib
Loaded Configuration File 
=> (none)

root@db [~]# /usr/local/lsws/fcgi-bin/lsphp5 -v
PHP 5.4.4 (litespeed) (builtJul 10 2012 13:43:19)
Copyright (c1997-2004 The PHP Group
Zend Engine v2.4.0
Copyright (c1998-2012 Zend Technologies

root
@db [~]# curl -I http://www.xxx.net/php.php
HTTP/1.1 200 OK
Date
Wed11 Jul 2012 08:55:06 GMT
Server
LiteSpeed
Connection
close
X
-Powered-ByPHP/5.4.4
Content
-Typetext/html 
I'm use cpanel, how can I edit the php.ini?

Thanks!
Reply With Quote