Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd please sign up again. Thanks!

PHP: Error parsing /usr/local/lib/php.ini on line 235

Discussion in 'Getting Started' started by ruipdguerra, Mar 13, 2012.

  1. ruipdguerra

    ruipdguerra Guest

    Hi there,

    I'm getting with my cronjob the error message:

    PHP: Error parsing /usr/local/lib/php.ini on line 235

    I had opened via SSH:
    - nano +235 /usr/local/lib/php.ini

    And i see:
    max_execution_time = 30
    max_input_time = 60
    memory_limit = 32M



    Any of this value is wrong? Cause i cant find where the error is.
    Anyone can help?!
     
  2. ruipdguerra

    ruipdguerra Guest

    No one can help?
     
  3. Rob

    Rob Guest

    Those look ok - can you copy/paste your full php.ini in?

    What was the last value you edited?
     
  4. ruipdguerra

    ruipdguerra Guest

    Could you give any help how can i copy/paste my full php.ini?

    I had changed that values for bigger numbers..
    But then i made what i wanted and then changed again to the standard values, the values you see there.
     
  5. Rob

    Rob Guest

    You could email it to yourself and copy/paste from there..

    mail -s "emailing php.ini" [email protected] < /usr/local/lib/php.ini
     
  6. Rob

    Rob Guest

    Grr phone keyboard.. you want a left carrot (less-than symbol) in between the email address and the filename..
     
  7. ruipdguerra

    ruipdguerra Guest


    What you mean with "left carrot"?
     
  8. Rob

    Rob Guest

  9. ruipdguerra

    ruipdguerra Guest

  10. Rob

    Rob Guest

    Yep - thats it.. that will email you the text file.
     
  11. ruipdguerra

    ruipdguerra Guest

  12. Rob

    Rob Guest

    I was able to use that php.ini on my system... what is the cronjob running that is reporting the error?
     
  13. ruipdguerra

    ruipdguerra Guest

    I was using the same cronjob, for interspire.

    /usr/bin/php -f /home/emailkan/public_html/test123/admin/cron/cron.php
     
  14. mrnothersan

    mrnothersan Guest

    That probably means that something has been added on that line that shouldn't be there, or there is a variable that is wrong. I would check the PHP docs and see if you can find anything that is wrong in there.
     

Share This Page