Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th January 2012, 17:57
Thavi Thavi is offline
Junior Member
 
Join Date: Jan 2012
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Question ISPConfig php.ini, where is it!?

where is the php.ini file in this configuration? http://www.howtoforge.com/perfect-se...10-ispconfig-3
i have allready tried /etc/php5/apache2/php.ini and all that returns is some blue comented text
i'm looking for
Code:
post_max_size = xM
upload_max_filesize = xM
i need to increase the maximum size for uploading sql files in phpmyadmin
Reply With Quote
Sponsored Links
  #2  
Old 16th January 2012, 18:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,771
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

Phpmyadmin uses the php.ini file of the Linux distribution, ISPConfig has no own php.ini file.

Ubuntu has several php.ini files, depending on the PHP mode that you use. The files are:

/etc/php5/apache2/php.ini
/etc/php5/cgi/php.ini

and dont forget to restart apache.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 16th January 2012, 18:11
Thavi Thavi is offline
Junior Member
 
Join Date: Jan 2012
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

thanks for the quick answer till, but...

both
Code:
/etc/php5/apache2/php.ini
/etc/php5/cgi/php.ini
return blue comented text with no configuration options
Code:
;;;;;;;;;;;;;;;;;;;
; About php.ini   ;
;;;;;;;;;;;;;;;;;;;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.

; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
; 1. SAPI module specific location.
; 2. The PHPRC environment variable. (As of PHP 5.2.0)
; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
; 4. Current working directory (except CLI)
; 5. The web server's directory (for SAPI modules), or directory of PHP
; (otherwise in Windows)
; 6. The directory from the --with-config-file-path compile time option, or the
; Windows directory (C:\windows or C:\winnt)
; See the PHP docs for more specific information.
; http://php.net/configuration.file

; The syntax of the file is extremely simple.  Whitespace and Lines
; beginning with a semicolon are silently ignored (as you probably guessed).
; Section headers (e.g. [Foo]) are also silently ignored, even though
; they might mean something in the future.

; Directives following the section heading [PATH=/www/mysite] only
; apply to PHP files in the /www/mysite directory.  Directives
; following the section heading [HOST=www.example.com] only apply to
; PHP files served from www.example.com.  Directives set in these
; special sections cannot be overridden by user-defined INI files or
; at runtime. Currently, [PATH=] and [HOST=] sections only work under
; CGI/FastCGI.
; http://php.net/ini.sections

; Directives are specified using the following syntax:
; directive = value
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
; Directives are variables used to configure PHP or PHP extensions.
; There is no name validation.  If PHP can't find an expected
; directive because it is not set or is mistyped, a default value will be used.

; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
; previously set variable or directive (e.g. ${foo})

; Expressions in the INI file are limited to bitwise operators and parentheses:
; |  bitwise OR
; ^  bitwise XOR
; &  bitwise AND
; ~  bitwise NOT
; !  boolean NOT

; Boolean flags can be turned on using the values 1, On, True or Yes.
; They can be turned off using the values 0, Off, False or No.

; An empty string can be denoted by simply not writing anything after the equal
; sign, or by using the None keyword:
i have already tried to add my necesary modificantions to this ones but with no outcome
Reply With Quote
  #4  
Old 16th January 2012, 18:37
Thavi Thavi is offline
Junior Member
 
Join Date: Jan 2012
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

php info file
Name:  subun.jpg
Views: 6442
Size:  43.2 KB
I have added my modifications to /etc/php5/cgi/conf.d/mysql.ini also but still nothing changed and that file contains only one line extension=mysql.so

phpmyadmins gives me this "file size exceeded the maximum size permitted by your PHP configuration. See FAQ 1.16."
Reply With Quote
  #5  
Old 16th January 2012, 19:19
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,771
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

According to the phpinfo() output, your system uses this file: /etc/php5/cgi/php.ini, so the lines have to be added or changed there.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 16th January 2012, 19:44
Thavi Thavi is offline
Junior Member
 
Join Date: Jan 2012
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

not working
"the file size exceeded the maximum size permitted by your PHP configuration"
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Relay access denied when using SMTP to external recipients Kamran Shah Installation/Configuration 111 14th May 2014 18:10
Control Panel - E-mail Tab is empty domi-nik General 15 14th April 2011 18:17
ISPConfig forward to VirtualBox ISPConfig Rescue9 General 3 11th March 2011 14:25
chroot SSH IspConfig2 kextra1 General 4 20th January 2011 18:41
ISPConfig 3.0.1 released till General 36 29th March 2009 14:30


All times are GMT +2. The time now is 01:56.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.