Monicka Akilan
Monicka Akilan

Reputation: 1549

PHP error while sending email

I am new to PHP. I am trying to send email through PHP. The error I got while sending is:

[23-Sep-2014 15:31:08 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.2.lin' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.2.lin: cannot open shared object file: No such file or directory in Unknown on line 0
[23-Sep-2014 15:31:08 UTC] PHP Fatal error:  Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0
cannot open shared object file: No such file or directory in Unknown on line 0

I don't know how to solve this. I browsed a lot they said some suggestions.

I am new to PHP and I can not find the solution(s) for this. Hope you guys help me to complete my first PHP task successfully...

Thanks in advance...

EDIT : Sorry friends even hello world is not working.. I dont know what to do now whether iwant to install anything... Forgive me for asking very silly questions.. Though am very new am struggling..

Upvotes: 1

Views: 85

Answers (3)

Monicka Akilan
Monicka Akilan

Reputation: 1549

Thank you so much for all who spent your time to take part in my issue.

I solved that by contacting my server person..

There is some issue in my curl file, One ; is missed out in that.

Now everything works fine..

Special Thanks for Gipsk Jakab .... His answer narrowed my prob...

Upvotes: 0

Tim
Tim

Reputation: 2715

Check if the binary exists in extension directory on the server OR the extension directory is correctly defined in php.ini. These are the possibilities which is causing problems. Also try setting permissions to 755 on ixed.5.2* once and see if that makes the trick.

Upvotes: 1

Gipsz Jakab
Gipsz Jakab

Reputation: 433

Check if /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.2.lin really exists. (i guess it does not) After that, you should find it:

locate ixed.5.2.lin

and put it into the location your php is looking for. (/usr/local/lib/php/extensions/no-debug-non-zts-20100525/)

If locate does not give any results, you have to install the missing library ...

Remark: to do locate, you will need a console, preferrably with root access.

Edit: Also please check if a simple print('hello'); would work, if not, you should fix your PHP install first.

Upvotes: 1

Related Questions