1

I'm new to the php.

When I'm trying to connect to crea(Canada realestate) database I encountered a error

Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\cr\PHRets_CREA.php on line 1465

again I executed the code then it is showing

Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\cr\PHRets_CREA.php on line 1408

Then I changed the following line in php.ini and restarted my server

max_execution_time=300

This time it again sown different line number

Fatal error: Maximum execution time of 300 seconds exceeded in C:\xampp\htdocs\cr\PHRets_CREA.php on line 1489

How to overcome this problem?

Here the complete code is http://crea.ca/data-distribution-facility-documentation

Phil
  • 157,677
  • 23
  • 242
  • 245
user3422501
  • 145
  • 1
  • 5
  • 14

1 Answers1

2

It seems your script is taking too much time to execute and it is being timedout.

Edit your php.ini and change the value of max_execution_time to 1000 and restart your web server.

You can also try to increase your memory_limit.

Kheshav Sewnundun
  • 1,236
  • 15
  • 37